<!--  -->
<template>
  <div class="recommend">
      <div class="recommend_item" v-for="item in recommends">
          <a :href="item.link">
              <img :src="item.image" alt="">
          <p>{{item.title}}</p>
          </a>
      </div>
  </div>
</template>

<script>
export default {
  data () {
    return {
    }
  },
  props:{
      recommends:{
          type:Array,
          default() {
              return []
          }
      }
  }
}
</script>

<style  scoped>
.recommend{
    display: flex;
    text-align: center;
    font-size: 14px;
    border-bottom: 8px solid #eee;
    padding-bottom: 20px;
}
.recommend_item{
    flex: 1;
}
.recommend_item img{
    width: 75px;
    padding: 8px 0 5px 0;
}
</style>
